#define RLS 0
#define RCD 1
#define GET 2
#define PUT 3
#define OK 0
#define ERROR -1
#define ACK 4
#define CONF_FILE "conf_file"
#define DATA_LENGTH (512 - (2*sizeof(long) + 2*sizeof(int)))
#define MAX_STRING_SIZE 50000
#define COMMENT '#'
#define ROOT "root"
#define PORT "port"
#define TIMEOUT 1000
#define RE_ATTEMPTS 3
struct sockaddr_in dir;

struct package {
    long from;
    long to;
    int op;
    int offset;
    char data[DATA_LENGTH];
};
typedef struct package PACKAGE;

